//
//  PublicBlockView.h
//  gaoyipinshangcheng
//
//  Created by jsj on 15/4/24.
//  Copyright (c) 2015年 青岛晨之晖信息服务有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^publicBLankFunctionBlock)();
@interface PublicBlankView : UIView

@property (strong, nonatomic) IBOutlet UIImageView *image;
@property (strong, nonatomic) IBOutlet UILabel *title;
@property (strong, nonatomic) IBOutlet UIButton *button;
@property (strong, nonatomic) UIColor *backColor;

- (IBAction)blankButtonFunction:(id)sender;

-(void)setBlockViewWithImage:(NSString*)image andTitle:(NSString*)title andButtonName:(NSString*)name;

+(PublicBlankView *)sharedInstanceWithViewController:(UIView *)tmpVC andImage:(NSString*)image andTitle:(NSString*)title andButtonName:(NSString*)name andCGFloat:(CGRect)rect;

+(PublicBlankView *)sharedLittleInstanceWithViewController:(UIView *)tmpVC andImage:(NSString*)image andTitle:(NSString*)title andButtonName:(NSString*)name andCGFloat:(CGRect)rect andPointY:(CGFloat)y;

+(void)clickPublicBlankFunction:(publicBLankFunctionBlock)backBlock;

@end
